package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    Long findCountByOrderDate(Date orderDate);

    void updateByOrderDate(OrderSetting orderSetting);

    void insertByOrderDate(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByYearAndMonth(String date);

    //根据[日期]查询[预约设置信息]
    OrderSetting findByOrderDate(Date orderDate);
}
